package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.SafetyMechanism;
import cn.wolfcode.crm.page.PageResult;
import cn.wolfcode.crm.query.SafetyMechanismQueryObject;

import java.util.List;

public interface ISafetyMechanismService {

    int deleteByPrimaryKey(Long id);

    int insert(SafetyMechanism entity);

    SafetyMechanism selectByPrimaryKey(Long id);

    List<SafetyMechanism> selectAll();

    int updateByPrimaryKey(SafetyMechanism entity);

//    int updateState(Long id);

    PageResult query(SafetyMechanismQueryObject qo);

    int updateState(Long id);
<<<<<<< HEAD

    List<SafetyMechanism> listAll();

=======
>>>>>>> 524224bf820c6d6da01f752551ee21b728709493
}
